<!DOCTYPE html>
<html lang="en"xmlns:th="http://www.thymeleaf.org">
<head>
    <head th:if="${session.userInfo == null}">
        <meta charset="UTF-8">
        <title>个人信息</title>
        <link href="../static/bootstrap-4.6.1-dist/css/bootstrap.min.css" th:href="@{/bootstrap-4.6.1-dist/css/bootstrap.min.css}" rel="stylesheet" type="text/css">
        <script src="../static/jQuery/jquery-3.6.0.min.js" th:src="@{/jQuery/jquery-3.6.0.min.js}"></script>
        <script src="../static/jQuery/jquery.cookie.js" th:src="@{/jQuery/jquery.cookie.js}"></script>
        <script src="../static/bootstrap-4.6.1-dist/js/bootstrap.bundle.js" th:src="@{/bootstrap-4.6.1-dist/js/bootstrap.bundle.js}"></script>
        <script type="text/javascript" src="../static/js/publicPart.js" th:src="@{/js/publicPart.js}"></script>
        <link href="../static/css/publicPart.css" rel="stylesheet" th:href="@{/css/publicPart.css}">
    </head>


    <link th:replace="publicPart ::commonHead">
    <link href="../static/css/userInfoPage.css" rel="stylesheet" th:href="@{/css/userInfoPage.css}">
    <link href="../static/css/admin.css" rel="stylesheet" th:href="@{/css/admin.css}">
    <script src="../static/js/admin.js" th:src="@{/js/admin.js}"></script>
    <script src="../static/js/userInfoPage.js" th:src="@{/js/userInfoPage.js}"></script>

    <script src="http://pv.sohu.com/cityjson"></script>
</head>
<body>
<header>
    <div class="adminInfo" style="display: none">
        <div id="userLevel" th:text="${session.userInfo.userLevel}"></div>
        <div id="userName" th:text="${session.userInfo.userName}"></div>
        <div class="dropdown-item"id="lastLoginTime" th:text="${session.userInfo.lastLoginTime}"></div>
    </div>
    <div class="nav-replace" th:fragment="navbar">
        <nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top" aria-label="Ninth navbar example">
            <div class="container-fluid">
                <a class="navbar-brand" href="#">Dashboard</a>
                <!--                导航栏折叠-->
                <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar" >
                    <span class="navbar-toggler-icon"></span>
                </button>

                <div class="collapse navbar-collapse " id="collapsibleNavbar">
                    <ul class="navbar-nav ">
                        <li class="nav-item">
                            <a class="nav-link" href="/demo">返回主页</a>
                        </li>
                    </ul>
                    <ul class="nav-item navbar-nav ml-auto" >
                        <li class="dropdown">
                            <a class="nav-link dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" draggable="false"th:text="${session.userInfo.userName}"> <span class="caret"></span></a>
                            <ul class="dropdown-menu dropdown-menu-left" style="width: 80px;">
                                <li><a class="dropdown-item" href="/demo/userInfoPage">个人信息</a></li>
                            </ul>
                        </li>
                        <li>
                            <a class="nav-link"href="#" id="logout" draggable="false">退出登录</a>
                        </li>
                    </ul>
                </div>
            </div>
        </nav>
        <div style="margin-top: 60px" ></div>
    </div>
    <div class="row">
        <aside class="col-sm-3 col-md-2 col-lg-2 sidebar">
            <ul class="list-group mb-4 list-group-flush">
                <div class="list-group-item list-group-item actived"  id="default"href="#" draggable="false">报告</div>
            </ul>
            <ul class="list-group mb-4 list-group-flush">
                <div class="list-group-item list-group-item list-group-item-action" id="blog"draggable="false">文章</div>
<!--                <div class="list-group-item list-group-item list-group-item-action" href="index.html" draggable="false">公告</div>-->
                <div class="list-group-item list-group-item list-group-item-action" id="comment"draggable="false">评论</div>
                <div class="list-group-item list-group-item list-group-item-action" id="file"draggable="false">文件</div>
            </ul>
            <ul class="list-group mb-4 list-group-flush">
                <div class="list-group-item list-group-item list-group-item-action" id="reprintBlog" draggable="false">转载文章</div>
            </ul>
            <ul class="list-group mb-4 list-group-flush">
                <div class="list-group-item list-group-item list-group-item-action" id="user" draggable="false">管理用户</div>
            </ul>
        </aside>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-lg-10 col-md-offset-2 main" id="main">
        </div>
    </div>
</header>
</body>
</html>

